package com.xw.dao;

import com.xw.entity.OperationLog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description:     操作日志数据访问层
 * @Author: ASUS
 * @Date: 2024/12/19 9:17
 * @Version: 1.0
 */

@Mapper
public interface OperationLogDao {
    // 插入操作日志
    void insertOperationLog(OperationLog log);

    // 查询所有日志
    List<OperationLog> selectAllLogs();

    // 根据 ID 删除日志
    void deleteById(Long id);
}
